package com.mypack.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mypack.crm.dto.customer.CustomerDTO;
import com.mypack.crm.dto.customer.CustomerSearchDTO;
import com.mypack.crm.entity.CrmCustomer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerMapper extends BaseMapper<CrmCustomer>{

    List<CustomerDTO> listCustomer(CustomerSearchDTO searchDTO);

}
